﻿using System;
using System.Collections.Generic;

namespace YJKArch.ImportStructureProject.ImportObjects
{
	public class CircleSectionMapping
	{
		public string FamilyName
		{
			get
			{
				return this.m_FamilyName;
			}
		}

		public List<string> SizeProperties
		{
			get
			{
				return this.m_SizeProperties;
			}
		}

		public int DiameterNameIndex
		{
			get
			{
				return this.m_DiameterNameIndex;
			}
			set
			{
				this.m_DiameterNameIndex = value;
			}
		}

		public bool IsSet
		{
			get
			{
				return this.m_DiameterNameIndex != -1;
			}
		}

		public CircleSectionMapping(CircleSectionMapping rhs)
		{
			this.m_FamilyName = rhs.m_FamilyName;
			this.m_SizeProperties = rhs.m_SizeProperties;
			this.m_DiameterNameIndex = rhs.m_DiameterNameIndex;
		}

		public CircleSectionMapping(string familyName, List<string> sizeProperties, int diameterNameIndex)
		{
			this.m_FamilyName = familyName;
			this.m_SizeProperties = sizeProperties;
			this.m_DiameterNameIndex = diameterNameIndex;
		}

		private string m_FamilyName;

		private List<string> m_SizeProperties = new List<string>();

		private int m_DiameterNameIndex = -1;
	}
}
